﻿function showsmenu(sid) {
    document.getElementById("smenu" + sid).style.display = "";
    document.getElementById("smenuu" + sid).style.display = "";
}
function hidesmenu(sid) {
    document.getElementById("smenu" + sid).style.display = "none";
    document.getElementById("smenuu" + sid).style.display = "none";
}
function showerweima() {
    document.getElementById("erweima").style.display = "";
}
function hideerweima() {
    document.getElementById("erweima").style.display = "none";
}
function iFrameHeight1() {
    var ifm = document.getElementById("ifrmain");
    var subWeb = document.frames ? document.frames["ifrmain"].document : ifm.contentDocument;
    if (ifm != null && subWeb != null) {
        ifm.height = subWeb.body.scrollHeight;
    }
}
function iFrameHeight2() {
    var ifm = document.getElementById("jieshao");
    var subWeb = document.frames ? document.frames["jieshao"].document : ifm.contentDocument;
    if (ifm != null && subWeb != null) {
        ifm.height = subWeb.body.scrollHeight;
    }
} 